##
## Makefile for malloc in /home/dubois_e//Downloads/malloc/1
## 
## Made by remi dubois
## Login   <dubois_e@epitech.net>
## 
## Started on  Wed Jan 30 11:15:36 2013 remi dubois
## Last update Thu Jan 31 21:54:16 2013 remi dubois
##

NAME	=	libmy_malloc_$(HOSTTYPE).so

SRC	=	my_malloc.c	\
		my_free.c	\
		my_realloc.c

OBJ	=	$(SRC:.c=.o)

CC	=	gcc

CFLAGS	=	-W -Wall -Werror -Wextra -fPIC

RM	=	rm -rf

$(NAME)	:	$(OBJ)
		gcc -shared -o $(NAME) $(OBJ)

all	:	$(NAME)

clean	:
		rm -rf $(OBJ)

fclean	:	clean
		rm -rf $(NAME)

re	:	fclean all